package com.rf.sys.model;

import java.util.Date;

public class Role {
    private String id;

    private String name;

    private String roleKey;

    private String description;

    private Date createTime;

    private String createUser;

    private String state;

    public Role(String id, String name, String roleKey, String description, Date createTime, String createUser, String state) {
        this.id = id;
        this.name = name;
        this.roleKey = roleKey;
        this.description = description;
        this.createTime = createTime;
        this.createUser = createUser;
        this.state = state;
    }

    public Role() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getRoleKey() {
        return roleKey;
    }

    public void setRoleKey(String roleKey) {
        this.roleKey = roleKey == null ? null : roleKey.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }
}